<%@ page import="java.sql.*, studentportal.*"%>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Student</title>
</head>

<body background="indtextb.jpg" bgcolor="#FFFFFF" text="#000000" link="#3366CC" vlink="#666666" alink="#996600">
<A HREF=""></A>


<font face="Trebuchet MS, Arial, Helvetica">
	<font face="Trebuchet MS, Arial, Helvetica">
<table border="0" width="100%">
  <tr>
    <td width="100%"><img border="0" src="StdPrtlbanner.jpg" width="846" height="65">&nbsp;</td>
  </tr>
</table>
<table border="0" width="100%">
  <tr>
    <td width="23%">
      <p align="center"><a href="AdminStudentHome.html">Students</a></td>
    <td width="23%">
      <p align="center"><a href="AdminFacultyHome.html">Faculties</a></td>

    <td width="20%">
      <p align="center"><a href="AdminNotificaiton.jsp">Notifications</a></td>

    <td width="20%">
      <a href="AdminDeptHome.html">Departments</a></td>

    <td width="20%">
      <p align="center"><a href="AdminCourseHome.html">Courses</a></td>

    <td width="20%">
      <p align="center"><a href="AdminSemesterHome.html">Semesters</a></td>

    <td width="20%">
      <p align="center"><a href="AdminSubjectHome.html">Subjects</a></td>

    <td width="20%">
      <a href="AdminDesignationHome.html">Designation</a></td>

	  <td width="20%">
      <p align="center"><a href="Home.html">Home</a></td>
  </tr>
</table>


<form method="POST" action="del_dept_res.jsp" onSubmit="">
  <!--webbot bot="SaveResults" startspan
  U-File="E:\StudentPortal\_private\form_results.txt" S-Format="TEXT/CSV"
  S-Label-Fields="TRUE" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
  bot="SaveResults" endspan -->
    <br/>  <br/>  <br/>  <br/>
  <table border="1"  align="center" width="46%">
    <tr>
      <td width="100%" colspan="2">&nbsp;</td>
    </tr>
    <tr>
      <td width="50%">
        <p align="center">Department Name</td>
      <td width="50%"><select size="1" name="CID" tabindex="1">
	  <%
				Connection con=MySQLDriver.getConnection(); 
				con.setAutoCommit(false);
				Statement st=con.createStatement();
				ResultSet rs=st.executeQuery("select * from department_master");
				while(rs.next())
				{
		%>
					<option value='<%=rs.getString(1)%>'><%=rs.getString(2)%></option>
		<%
				}
				st.close();
				//con.close();
	  %>
        </select></td>
    </tr>
    <tr>
      <td width="100%" colspan="2">
        <p align="center"><input type="submit" value="delete" name="action" tabindex="2"></td>
    </tr>
	
		   
  </table>
  
 
		  </form>

</font></font>

</body>

</html>
